//
//  Setup.h
//  iStock Global
//
//  Created by Andy on 2010/11/12.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "navcontroller.h"
#import <StoreKit/StoreKit.h>

NSTimeInterval timeIntervalForNumberOfWeeks(float numberOfWeeks);
@interface Setup : UIViewController<UITableViewDataSource,UITableViewDelegate>{
	 
	UITableView *myTable;
	UIDatePicker *datepick;
	
	NSArray  *StockInformation_0; //個股資料
	 	
	UINavigationController *navdelegete;	
	 
     UISegmentedControl *segmetnctl_upColor;
     UISegmentedControl *segmetnctl_downColor;	
}

 

-(void)initTitle:(NSString *) bartitle;
-(void)initImage:(UIImage*) image;
-(void)get_navcontroller:(UINavigationController *)nd;
-(void)deletallStockData;
-(void)switchChange:(id) sender;
-(void)segmentChanged_upColor;
-(void)segmentChanged_downColor;

@end
 
